<script lang="ts" setup>
import { ref } from 'vue';
const options = ref([]);
setTimeout(() => {
  options.value = [
    { value: 'weixin', label: '分享到微信朋友圈' },
    { value: 'weixin1', label: '分享到微信朋友圈' },
    { value: 'weixin2', label: '分享到微信朋友圈' },
    { value: 'weixin3', label: '分享到微信朋友圈' },
    { value: 'weixin4', label: '分享到微信朋友圈' },
    { value: 'weixin5', label: '分享到微信朋友圈' },
    { value: 'weixin6', label: '分享到微信朋友圈' },
    { value: 'weixin7', label: '分享到微信朋友圈' },
    { value: 'weixin8', label: '分享到微信朋友圈' },
    { value: 'weixin9', label: '分享到微信朋友圈' },
    { value: 'weixin10', label: '分享到微信朋友圈' },
    { value: 'weixin11', label: '分享到微信朋友圈' },
    { value: 'weixin12', label: '分享到微信朋友圈' },
    { value: 'weixin13', label: '分享到微信朋友圈' }
  ];
}, 1000);
const shareType = ref<string>('weixin');
const shartCount = ref<number>(1);
const shartInterval = ref<number>(5);
const explainCount = ref<number>(1);
const explainInterval = ref<number>(5);
const watchCount = ref<number>(1);
const watchInterval = ref<number>(5);
</script>

<template>
  <div class="home-container share-set-container pt8 pb8 pl8 pr8">
    <div class="flex-ali">
      <span class="font14">请选择分享模式：</span>
      <el-select v-model="shareType" class="flex-auto" placeholder="Select">
        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
      </el-select>
      <el-select v-model="shareType" class="flex-auto" placeholder="Select">
        <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
      </el-select>
    </div>
    <div class="flex-ali mt8">
      <span class="font12">分享：</span>
      <el-input-number class="flex-auto" v-model="shartCount" :min="1" size="small" controls-position="right" />
      <span class="font12 ml8 mr8">次</span>
      <span class="font12 ml8">间隔：</span>
      <el-input-number class="flex-auto" v-model="shartInterval" :min="5" size="small" controls-position="right" />
      <el-button class="ml8" size="small" type="primary"> 开始 </el-button>
    </div>
    <div class="flex-ali mt8">
      <span class="font12">讲解：</span>
      <el-input-number class="flex-auto" v-model="explainCount" :min="1" size="small" controls-position="right" />
      <span class="font12 ml8 mr8">次</span>
      <span class="font12 ml8">间隔：</span>
      <el-input-number class="flex-auto" v-model="explainInterval" :min="5" size="small" controls-position="right" />
      <el-button class="ml8" size="small" type="primary"> 开始 </el-button>
    </div>
    <div class="flex-ali mt8">
      <span class="font12">观看：</span>
      <el-input-number class="flex-auto" v-model="watchCount" :min="1" size="small" controls-position="right" />
      <span class="font12 ml8 mr8">次</span>
      <span class="font12 ml8">间隔：</span>
      <el-input-number class="flex-auto" v-model="watchInterval" :min="5" size="small" controls-position="right" />
      <el-button class="ml8" size="small" type="primary"> 开始 </el-button>
    </div>
    <div class="flex-ali mt8">
      <span class="flex-auto">观看剩余数量：3583443</span>
      <el-button size="small" type="primary"> 充值 </el-button>
    </div>
  </div>
</template>

<style lang="scss" scoped></style>
